package com.gongfutrip.trans.remoting;

import com.gongfutrip.trans.remoting.protocol.RemotingCommand;

public interface RPCHook {
  void doBeforeRequest(final String remoteAddr, final RemotingCommand request);

  void doAfterResponse(final String remoteAddr, final RemotingCommand request,
      final RemotingCommand response);
}
